package com.woniu.park.dao;

import com.woniu.park.pojo.Common;
import com.woniu.park.pojo.CommonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CommonMapper {
    long countByExample(CommonExample example);

    int deleteByExample(CommonExample example);

    int deleteByPrimaryKey(Integer commonId);

    int insert(Common record);

    int insertSelective(Common record);

    List<Common> selectByExample(CommonExample example);

    Common selectByPrimaryKey(Integer commonId);

    int updateByExampleSelective(@Param("record") Common record, @Param("example") CommonExample example);

    int updateByExample(@Param("record") Common record, @Param("example") CommonExample example);

    int updateByPrimaryKeySelective(Common record);

    int updateByPrimaryKey(Common record);
}